ENT.Base = "base_anim"
ENT.Type = "anim"

function ENT:Initialize()
	self.Enabled = true
end

function ENT:AcceptInput( name, activator, caller )
	if ( name == "enable" ) then
		self.Enabled = true
	elseif ( name == "disable" ) then
		self.Enabled = false
	end
end

function ENT:IsEnabled()
	return self.Enabled
end

function ENT:GetSpawnPoints()
	if ( !self.SpawnPoints ) then self:FindSpawnPoints() end
	return self.SpawnPoints
end
function ENT:FindSpawnPoints()
	self.SpawnPoints = {}
	for _, spawn in pairs( ents.FindByClass( "inc_spawn" ) ) do
		if ( spawn.SpawnGroup == self:GetName() ) then
			self.SpawnPoints[ #self.SpawnPoints + 1 ] = spawn
		end
	end
end